import java.util.HashSet;
import java.util.PriorityQueue;
import java.util.TreeSet;
import java.util.concurrent.atomic.AtomicInteger;

public class ershiwu implements Runnable {


    @Override
    public void run() {
        for (int i = 0; i <10000 ; i++) {
            System.out.println(i);
        }
    }


    AtomicInteger count = new AtomicInteger(0);
    public static void main(String[] args) {
        PriorityQueue x= new PriorityQueue<>();
        x.add(1);
        x.add(2);
        System.out.println(x.peek());
    }
}
